package creditcard;

import framework.mvc.AFincoView;
import framework.mvc.FincoContext;

import javax.swing.*;

public class CCard {
    static public void main(String args[]) {
        try {

            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            AFincoView view = new CCardView();
            //DI
            FincoContext.injectView(view);

            //IoC
            view.setVisible(true);
        } catch (Throwable t) {
            t.printStackTrace();
            System.exit(1);
        }
    }
}